package com.yhn.bubblevideo.common.constant;

/**
 * 文件常量
 *
 * @author yhnyhn123
 */
public class FileConstant {

    public static final String[] IMAGE_MIME_TYPES = {"image/jpeg", "image/png", "image/gif", "image/bmp", "image/tiff"};
    public static final String[] VIDEO_MIME_TYPES = {"video/mp4", "video/quicktime", "video/x-msvideo", "video/mpeg", "video/webm"};

    //分片大小
    public static final int CHUNK_SIZE = 3 * 1024 * 1024;
    public static final String OSS_VIDEO_PATH = "bubble/video/";
    public static final String OSS_IMAGE_PATH = "bubble/image/";
    public static final String OSS_VIDEO_CHUNK_PATH = "bubble/video/chunk";
    public static final String OSS_VIDEO_TEMP_PATH = "/temp/";
    public static final String TEMP_VIDEO_NAME = "temp.mp4";


}
